"""依赖注入"""
from app.core.config import settings
from app.services.embedding import EmbeddingService
from app.services.storage import StorageService
from app.services.retrieval import RetrievalService
from app.services.chat import ChatService


def get_embedding_service() -> EmbeddingService:
    """获取嵌入服务实例"""
    return EmbeddingService()


def get_storage_service() -> StorageService:
    """获取存储服务实例"""
    return StorageService()


def get_retrieval_service() -> RetrievalService:
    """获取检索服务实例"""
    return RetrievalService()


def get_chat_service() -> ChatService:
    """获取对话服务实例"""
    return ChatService()

